Integrand size = 27, antiderivative size = 152 \[ \int \frac {\sqrt {c+d \sin (e+f x)}}{3+b \sin (e+f x)} \, dx=\frac {2 d \operatorname {EllipticF}\left (\frac {1}{2} \left (e-\frac {\pi }{2}+f x\right ),\frac {2 d}{c+d}\right ) \sqrt {\frac {c+d \sin (e+f x)}{c+d}}}{b f \sqrt {c+d \sin (e+f x)}}+\frac {2 (b c-3 d) \operatorname {EllipticPi}\left (\frac {2 b}{3+b},\frac {1}{2} \left (e-\frac {\pi }{2}+f x\right ),\frac {2 d}{c+d}\right ) \sqrt {\frac {c+d \sin (e+f x)}{c+d}}}{b (3+b) f \sqrt {c+d \sin (e+f x)}} \]
[Out]
Time = 0.21 (sec) , antiderivative size = 153, normalized size of antiderivative = 1.01, number of steps used = 5, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.185, Rules used = {2882, 2742, 2740, 2886, 2884} \[ \int \frac {\sqrt {c+d \sin (e+f x)}}{3+b \sin (e+f x)} \, dx=\frac {2 (b c-a d) \sqrt {\frac {c+d \sin (e+f x)}{c+d}} \operatorname {EllipticPi}\left (\frac {2 b}{a+b},\frac {1}{2} \left (e+f x-\frac {\pi }{2}\right ),\frac {2 d}{c+d}\right )}{b f (a+b) \sqrt {c+d \sin (e+f x)}}+\frac {2 d \sqrt {\frac {c+d \sin (e+f x)}{c+d}} \operatorname {EllipticF}\left (\frac {1}{2} \left (e+f x-\frac {\pi }{2}\right ),\frac {2 d}{c+d}\right )}{b f \sqrt {c+d \sin (e+f x)}} \]
[In]
[Out]
Rule 2740
Rule 2742
Rule 2882
Rule 2884
Rule 2886
Rubi steps \begin{align*} \text {integral}& = \frac {d \int \frac {1}{\sqrt {c+d \sin (e+f x)}} \, dx}{b}+\frac {(b c-a d) \int \frac {1}{(a+b \sin (e+f x)) \sqrt {c+d \sin (e+f x)}} \, dx}{b} \\ & = \frac {\left (d \sqrt {\frac {c+d \sin (e+f x)}{c+d}}\right ) \int \frac {1}{\sqrt {\frac {c}{c+d}+\frac {d \sin (e+f x)}{c+d}}} \, dx}{b \sqrt {c+d \sin (e+f x)}}+\frac {\left ((b c-a d) \sqrt {\frac {c+d \sin (e+f x)}{c+d}}\right ) \int \frac {1}{(a+b \sin (e+f x)) \sqrt {\frac {c}{c+d}+\frac {d \sin (e+f x)}{c+d}}} \, dx}{b \sqrt {c+d \sin (e+f x)}} \\ & = \frac {2 d \operatorname {EllipticF}\left (\frac {1}{2} \left (e-\frac {\pi }{2}+f x\right ),\frac {2 d}{c+d}\right ) \sqrt {\frac {c+d \sin (e+f x)}{c+d}}}{b f \sqrt {c+d \sin (e+f x)}}+\frac {2 (b c-a d) \operatorname {EllipticPi}\left (\frac {2 b}{a+b},\frac {1}{2} \left (e-\frac {\pi }{2}+f x\right ),\frac {2 d}{c+d}\right ) \sqrt {\frac {c+d \sin (e+f x)}{c+d}}}{b (a+b) f \sqrt {c+d \sin (e+f x)}} \\ \end{align*}
Time = 5.17 (sec) , antiderivative size = 113, normalized size of antiderivative = 0.74 \[ \int \frac {\sqrt {c+d \sin (e+f x)}}{3+b \sin (e+f x)} \, dx=-\frac {2 \left ((3+b) d \operatorname {EllipticF}\left (\frac {1}{4} (-2 e+\pi -2 f x),\frac {2 d}{c+d}\right )+(b c-3 d) \operatorname {EllipticPi}\left (\frac {2 b}{3+b},\frac {1}{4} (-2 e+\pi -2 f x),\frac {2 d}{c+d}\right )\right ) \sqrt {\frac {c+d \sin (e+f x)}{c+d}}}{b (3+b) f \sqrt {c+d \sin (e+f x)}} \]
[In]
[Out]
Time = 1.96 (sec) , antiderivative size = 181, normalized size of antiderivative = 1.19
method | result | size |
default | \(\frac {2 \left (F\left (\sqrt {\frac {c +d \sin \left (f x +e \right )}{c -d}}, \sqrt {\frac {c -d}{c +d}}\right )-\Pi \left (\sqrt {\frac {c +d \sin \left (f x +e \right )}{c -d}}, -\frac {\left (c -d \right ) b}{d a -c b}, \sqrt {\frac {c -d}{c +d}}\right )\right ) \sqrt {-\frac {d \left (\sin \left (f x +e \right )+1\right )}{c -d}}\, \sqrt {-\frac {\left (\sin \left (f x +e \right )-1\right ) d}{c +d}}\, \sqrt {\frac {c +d \sin \left (f x +e \right )}{c -d}}\, \left (c -d \right )}{b \cos \left (f x +e \right ) \sqrt {c +d \sin \left (f x +e \right )}\, f}\) | \(181\) |
[In]
[Out]
Timed out. \[ \int \frac {\sqrt {c+d \sin (e+f x)}}{3+b \sin (e+f x)} \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \frac {\sqrt {c+d \sin (e+f x)}}{3+b \sin (e+f x)} \, dx=\int \frac {\sqrt {c + d \sin {\left (e + f x \right )}}}{a + b \sin {\left (e + f x \right )}}\, dx \]
[In]
[Out]
\[ \int \frac {\sqrt {c+d \sin (e+f x)}}{3+b \sin (e+f x)} \, dx=\int { \frac {\sqrt {d \sin \left (f x + e\right ) + c}}{b \sin \left (f x + e\right ) + a} \,d x } \]
[In]
[Out]
\[ \int \frac {\sqrt {c+d \sin (e+f x)}}{3+b \sin (e+f x)} \, dx=\int { \frac {\sqrt {d \sin \left (f x + e\right ) + c}}{b \sin \left (f x + e\right ) + a} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {\sqrt {c+d \sin (e+f x)}}{3+b \sin (e+f x)} \, dx=\int \frac {\sqrt {c+d\,\sin \left (e+f\,x\right )}}{a+b\,\sin \left (e+f\,x\right )} \,d x \]
[In]
[Out]